package com.cdd.goods.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.entity.Newgoods;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.common.entity.Goods;
import com.common.entity.GoodsBrand;
import com.common.entity.Newgoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzl
 * @since 2022-09-09
 */
public interface NewgoodsMapper extends BaseMapper<Newgoods> {
    //List selectAll();

    IPage<Map> selectAll(Page<Newgoods> page, @Param("ew") QueryWrapper queryWrapper);


    IPage<Map> selectAllauto(Page<Newgoods> page, @Param("ew") QueryWrapper<Newgoods> wrapper);

    List<Goods> selectGname();
}
